function getUserList() {
    var savedList = localStorage['userList'];
    return typeof savedList === 'undefined' ? defaultUserList() : savedList;
}

function defaultUserList() {
    return 'Vinny Chase|Vinny Chafe\n' + 
        'lil boozy|faggot loser\n' + 
        'apefish|fish lips\n' +
        'art_vandelay|<img src="http://i.imgur.com/jx0w0.png" />\n' +
        'DocForbin|CockForeskin\n' + 
        'JoeyP|retard\n' + 
        '54321|ballsack\n' + 
        'Gayballs McFaggotworth the Seventh|ed\n' + 
        'Gayballs McSnugglesworth the Seventh|ed\n' +
        'ursine cotcher|urine crotch\n' + 
        'fubster|chubster\n' + 
        'to dumb|two dumb\n' + 
        'Koroview|chronic masturbater\n' + 
        'jackduck|bed wetter\n' + 
        'notnotnotburlap|burlap\n' +
        'Gorgeous Ave|gA\n' + 
        'benza13|juggalo4lyfe\n' + 
        'chadmack|confirmed homosexual\n' + 
        'Ratterman|I wish my wife had big tits. and braces\n' + 
        'DumbSN|panda\n' + 
        'nbats|nballs\n' + 
        'slurred|slurped\n' + 
        'doobie|neurologically flawed\n' + 
        'rubbrband|cockring\n' + 
        'sootedgapper|toothless whore\n' + 
        'Bumfuck McFaggerty|a grower\n' + 
        'BIG DICK FROTTEUR|TINY DICK FROTTEUR\n' + 
        'frotteur|tiny dick frotteur\n' + 
        'nham|baconater\n' + 
        'VegasNick21|gayestNick21\n' + 
        '2/325Falcon|0.006153846Falcon\n' + 
        'Operation 0|IQ 0\n' + 
        'Passaman|ardent Christian' +
        'MC PeePants|semen sucking faggot that wants to fuck hipsters';     
}
function getWordList() {
    var savedList = localStorage['wordList'];
    return typeof savedList === 'undefined' ? defaultWordList() : savedList; 

}

function defaultWordList() {
	return 'joey|homo\n' + 
	'Joey|homo';
}

function getDelaySecs() {
	var delaySecs = localStorage['delaySecs'];
	return typeof delaySecs === 'undefined' ? 0 : delaySecs;
}

function getUserReplaceEnabled() {
    var enabled = localStorage['userReplaceEnabled'];
    return typeof enabled === 'undefined' ? true : enabled === 'true'; // string to boolean  
}

function getWordReplaceEnabled() {
    var enabled = localStorage['wordReplaceEnabled'];    
    return typeof enabled === 'undefined' ? true : enabled === 'true';  // string to boolean
}

function getSmileysEnabled() {
    var enabled = localStorage['smileysEnabled'];    
    return typeof enabled === 'undefined' ? true : enabled === 'true';  // string to boolean    
}

function getSmileys() {
    var smileys = localStorage['smileys'];
    return typeof smileys === 'undefined' ? defaultSmileys() : smileys;
}

function defaultSmileys() {
     return ':yes:|http://i.imgur.com/2p6qv.gif\n' + 
    ':no:|http://i.imgur.com/d4jFt.gif\n' +
    ':hello:|http://i.imgur.com/JTz4G.gif\n' +
    ':greetings:|http://i.imgur.com/z0nAh.gif\n' +
    ':bloonboots:|http://i.imgur.com/yothU.gif\n' +
    ':astonished:|http://i.imgur.com/GWq5M.gif\n' +
    ':grrrlap:|http://i.imgur.com/9tkiu.gif\n' +
    ':art:|http://i.imgur.com/jx0w0.png\n' +
    ':omgomg:|http://i.imgur.com/z8xYS.gif\n' +
    ':bitch:|http://i.imgur.com/hLZaq.gif\n' +
    ':spank:|http://i.imgur.com/pAA3t.gif\n' +
    ':fu:|http://i.imgur.com/VaaJm.gif\n' +    
    ':guntohead:|http://i.imgur.com/3p0lI.gif\n' +
    ':nunchucks:|http://i.imgur.com/oZnmi.gif\n' +
    ':suckit:|http://i.imgur.com/uHBh7.gif\n' +
    ':lasergun:|http://i.imgur.com/TuFdr.gif\n' +
    ':lickit:|http://i.imgur.com/c3qay.gif\n' +
    ':koro:|http://i.imgur.com/veDKF.gif\n' +
    ':outtahere:|http://i.imgur.com/SoblS.gif\n' +
    ':hug:|http://i.imgur.com/tha7C.gif\n' +
    ':worship:|http://i.imgur.com/Lbrri.gif\n' + 
    ':joint:|http://i.imgur.com/JeZAs.gif\n' +
    ':cocaine:|http://i.imgur.com/lq62a.gif\n' +
    ':magicfrog:|http://i.imgur.com/Rps5Y.gif\n' +
    ':waiting:|http://i.imgur.com/TWZ1t.gif\n' +
    ':korocat:|http://i.imgur.com/yC1wR.png\n' + 
    ':flo:|http://i.imgur.com/LGkyt.png\n' +
    ':passa:|http://i.imgur.com/QgnLf.png\n' + 
    ':ld:|http://i.imgur.com/rxih2.png\n' +
    ':dog:|http://i.imgur.com/0RZ0a.png\n' + 
    ':dogsmile:|http://i.imgur.com/S6SsP.png\n' +
    ':doggoggles:|http://i.imgur.com/vqodL.png\n' +
    ':scaredshitless:|http://i.imgur.com/nMxh8.png\n' +
    ':howardsmom:|http://i.imgur.com/lkDfG.png\n' +
    ':boozy:|http://i.imgur.com/u6ZIi.png\n' +
    ':smails:|http://i.imgur.com/Tbpkv.png\n' +
    ':crazyeyes:|http://i.imgur.com/T5N8f.png\n' +
    ':oreilly:|http://i.imgur.com/VCbtV.png\n' + 
    ':madlebron:|http://i.imgur.com/jQrsa.png\n' +
    ':madmonkey:|http://i.imgur.com/TWPOO.png\n' +
    ':trex:|http://i.imgur.com/zTmbQ.png\n' +
    ':robert:|http://i.imgur.com/fzhQv.png\n' +
    ':clinton:|http://i.imgur.com/YIWVE.png\n' +
    ':ga:|http://i.imgur.com/oaUjE.gif\n' +
    ':monkeyslave:|http://i.imgur.com/QOcRO.png\n' +
    ':christmas:|http://i.imgur.com/3x9B5.gif\n' + 
    ':ronswanson:|http://i.imgur.com/UDdI9.png\n' +
    ':happydids:|http://i.imgur.com/UQhxx.png\n' +
    ':oxygen:|http://i.imgur.com/tnr09.gif\n' +
    ':koro2:|http://i.imgur.com/FEIMF.gif';
}

function getHideIgnoredEnabled() {
    var enabled = localStorage['hideIgnoredEnabled'];    
    return typeof enabled === 'undefined' ? false : enabled === 'true';  // string to boolean    
}

function getEggsEnabled() {
    var enabled = localStorage['eggsEnabled'];    
    return typeof enabled === 'undefined' ? true : enabled === 'true';  // string to boolean    
}
